package org.summer.lawyer.domain.vo.articlecomment;

import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.summer.lawyer.domain.ArticleComment;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 文章评论视图对象 article_comment
 *
 * @author summer
 * @date 2024-06-27
 */
@Schema(title ="文章评论视图对象 article_comment", description = "文章评论视图对象 article_comment")
@Data
@AutoMapper(target = ArticleComment.class)
public class ArticleCommentVo implements Serializable{

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Schema(title = "id", type = "Long", description = "主键ID")
    private Long id;

    /**
     * 文章ID
     */
    @Schema(title = "articleId", type = "Long", description = "文章ID")
    private Long articleId;

    /**
     * 文章分类ID  （0最新，1每日普法，2司法判例，3古法研究院）
     */
    @Schema(title = "categoryId", type = "String", description = "文章分类ID  （0最新，1每日普法，2司法判例，3古法研究院）")
    private String categoryId;

    /**
     * 文章分类
     */
    @Schema(title = "categoryName", type = "String", description = "文章分类")
    private String categoryName;

    /**
     * 文章标题
     */
    @Schema(title = "title", type = "String", description = "文章标题")
    private String title;

    /**
     * 文章封面图片
     */
    @Schema(title = "imageUrl", type = "String", description = "文章封面图片")
    private String imageUrl;

    /**
     * 评论用户ID
     */
    @Schema(title = "wxUserId", type = "Long", description = "评论用户ID")
    private Long wxUserId;

    /**
     * 昵称
     */
    @Schema(title = "nickname", type = "String", description = "昵称")
    private String nickname;

    /**
     * 评论内容
     */
    @Schema(title = "commentContent", type = "String", description = "评论内容")
    private String commentContent;

    /**
     * 评论时间
     */
    @Schema(title = "commentTime", type = "Date", description = "评论时间")
    private Date commentTime;

    /**
     * 状态(0待审核，1发布）
     */
    @Schema(title = "status", type = "String", description = "状态(0待审核，1发布）")
    private String status;

    /**
     * 审核人ID
     */
    @Schema(title = "reviewerId", type = "Long", description = "审核人ID")
    private Long reviewerId;

    /**
     * 审核人
     */
    @Schema(title = "reviewerName", type = "String", description = "审核人")
    private String reviewerName;

    /**
     * 审核时间
     */
    @Schema(title = "reviewTime", type = "Date", description = "审核时间")
    private Date reviewTime;

    /**
     * 评论人头像
     */
    @Schema(title = "avatar", type = "String", description = "评论人头像")
    private String avatar;
}
